<?php
$view = new Tbs_Engine();

$baseDir = dirname(__FILE__).'/templates/';
$view->setTemplateDir($baseDir);
$view->LoadTemplate('index.tpl');

// Load URL
$view->MergeField('baseUrl',$this->baseUrl());
$view->MergeField('applicationUrl',$this->applicationUrl());
    
$view->MergeField('loginform',$this->action('loginform','index'));      
$view->MergeField('quicksearchform',$this->action('quicksearchform','index'));      
$view->MergeField('hotpropertyform',$this->action('hotpropertyform','index'));      
$view->MergeField('lang',$this->lang);  
$view->ObjectRef['translate']=&$this->translate;       

$view->MergeBlock('feature',$this->feature);  
$view->MergeField('welcome',$this->welcome);      
                  
$view->Show(true);
?>